package com.gitee.wsl.scheduler.job.context

import com.gitee.wsl.scheduler.job.bean.ScheduledJob
import com.gitee.wsl.scheduler.job.dsl.JobDslMarker

@JobDslMarker
class ErrorJobContext internal constructor(scheduledJob: ScheduledJob, val error: Throwable) {
    val jobName = scheduledJob.settings.name
    val jobId = scheduledJob.settings.id
}